package com.rw.map.model;

import java.io.Serializable;
import java.util.List;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Range;

public class HeatMapQueryParam implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@NotBlank(message = "楼层ID不能为空")
	private String nodeCode;

	private List<Integer> sexList;

	private List<Integer> ageList;

	@NotNull(message = "查询周期不能为空")
	@Range(min = 1, max = 5, message = "非法查询周期")
	protected Integer periodType;

	@NotBlank(message = "开始时间不能为空")
	protected String start;

	@NotBlank(message = "开始时间不能为空")
	protected String end;

	private List<String> markNodes;

	private String buildingId;

	public String getNodeCode() {
		return nodeCode;
	}

	public void setNodeCode(String nodeCode) {
		this.nodeCode = nodeCode;
	}

	public Integer getPeriodType() {
		return periodType;
	}

	public void setPeriodType(Integer periodType) {
		this.periodType = periodType;
	}

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public List<Integer> getSexList() {
		return sexList;
	}

	public void setSexList(List<Integer> sexList) {
		this.sexList = sexList;
	}

	public List<Integer> getAgeList() {
		return ageList;
	}

	public void setAgeList(List<Integer> ageList) {
		this.ageList = ageList;
	}

	public List<String> getMarkNodes() {
		return markNodes;
	}

	public void setMarkNodes(List<String> markNodes) {
		this.markNodes = markNodes;
	}

	public String getBuildingId() {
		return buildingId;
	}

	public void setBuildingId(String buildingId) {
		this.buildingId = buildingId;
	}

}
